package com.young.springdemo.service.builderFactory;

public class DevilActorBuilder extends ActorBuilder {
    @Override
    void buildAge() {
        actor.setAge("18");
    }

    @Override
    void buildName() {
        actor.setName("魔鬼");
    }

    @Override
    void buildHairStyle() {
        actor.setHairStyle("光头");
    }

    @Override
    void buildFace() {
        actor.setFace("丑陋");
    }

    @Override
    void buildSex() {
        actor.setSex("男");
    }

    public boolean isHair(){
        return true;
    }
}
